using System.Collections.Generic;

namespace EdmxLibrary.DataObjects
{
	public class Scalar
	{
	    public Scalar()
        {
            Facets = new Dictionary<string, object>();
        }

	    public string Name { get; set; }
		public bool IsKey { get; set; }
		public DataType ScalarType { get; set; }
		public object DefaultValue { get; set; }

        public Dictionary<string, object> Facets { get; private set; }
        public int? MaxLength { get; set; }
        public byte? Precision { get; set; }
        public byte? Scale { get; set; }
	}
}
